package com.dd.census.entity;

import com.dd.census.entity.base.BaseEntity;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;

/**
 * Attendance
 * @author whn 2021-02-20
 */
@Data
public class AttendanceDetails extends BaseEntity implements Serializable,Cloneable {

    private static final long serialVersionUID = 1L;

    private Integer adId;

    // 员工姓名
    private String name;

    private String staffId;

    // 入场时间
    private String weekDate;

    // 目标月份
    private String targetMonth;

    // 回款月份
    private String attendanceMonth;

    // 当月成本
    private Double monthCost;

    // 当月回款
    private Double monthRemittance;

    // 当月利润
    private Double monthProfit;

    // 角色
    private String roleStr;

    // 关联系统人员id
    private String userId;
    private String saccount;

    private String attendanceID;

    // 提成
    private Double commission;

    private Double sum;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getAdId() {
        return adId;
    }

    public void setAdId(Integer adId) {
        this.adId = adId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getWeekDate() {
        return weekDate;
    }

    public void setWeekDate(String weekDate) {
        this.weekDate = weekDate;
    }

    public String getTargetMonth() {
        return targetMonth;
    }

    public void setTargetMonth(String targetMonth) {
        this.targetMonth = targetMonth;
    }

    public Double getMonthCost() {
        return monthCost;
    }

    public void setMonthCost(Double monthCost) {
        this.monthCost = monthCost;
    }

    public Double getMonthRemittance() {
        return monthRemittance;
    }

    public void setMonthRemittance(Double monthRemittance) {
        this.monthRemittance = monthRemittance;
    }

    public Double getMonthProfit() {
        return monthProfit;
    }

    public void setMonthProfit(Double monthProfit) {
        this.monthProfit = monthProfit;
    }

    public String getRoleStr() {
        return roleStr;
    }

    public void setRoleStr(String roleStr) {
        this.roleStr = roleStr;
    }

    public Double getCommission() {
        return commission;
    }

    public void setCommission(Double commission) {
        this.commission = commission;
    }

    public Double getSum() {
        return sum;
    }

    public void setSum(Double sum) {
        this.sum = sum;
    }

    public String getStaffId() {
        return staffId;
    }

    public void setStaffId(String staffId) {
        this.staffId = staffId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getAttendanceID() {
        return attendanceID;
    }

    public void setAttendanceID(String attendanceID) {
        this.attendanceID = attendanceID;
    }

    public String getAttendanceMonth() {
        return attendanceMonth;
    }

    public void setAttendanceMonth(String attendanceMonth) {
        this.attendanceMonth = attendanceMonth;
    }

    public String getSaccount() {
        return saccount;
    }

    public void setSaccount(String saccount) {
        this.saccount = saccount;
    }

    @Override
    public Object clone() {
        AttendanceDetails stu = null;
        try{
            stu = (AttendanceDetails)super.clone();
        }catch(CloneNotSupportedException e) {
            e.printStackTrace();
        }
        return stu;
    }
}